I've put together some KVM images of NetBSD for use with Joyent Triton/SDC. They include a port of the Joyent Triton guest tools to NetBSD and so should be fairly well integrated with Triton. I haven't tested on SmartOS directly but see no reason for them not to work (with the possible exception of any guest tools features that don't exist on SmartOS.)
These images are intended to be light weight, so only the minimum install sets are included in these images. If you need compilers/system headers or X11 (notably required by Java), these are easy to add to your instance, as NetBSD install sets are just tarballs. For instance, to install system headers and gcc for NetBSD 6.1.5:
# cd / && wget -q -O - \ http://mirror.planetunix.net/pub/NetBSD/NetBSD-6.1.5/amd64/binary/sets/comp.tgz \
| tar xzvf -
I've tested both images as a pkgsrc build platform and they work at least as well as my previous virtual environment running on VMWare.
The NetBSD install process is interactive, so it didn't seem worthwhile to go the route taken with the FreeBSD and OpenBSD builds. Instead, I prepare a second CDROM with the guest tools and a few packages required to get them and pkgin set up. Once the install is complete (which takes only 2-3 minutes once you've done it a few times), the installer drops you to a prompt where the extra stuff gets added. I haven't bothered to put the commands into a script for running direct from the guest tools, though that certainly would be possible.
I've cloned the FreeBSD build project from Joyent and made changes to the guest tools as needed for NetBSD. I've also included the steps I took to prepare these images in the form of one or two crude scripts.
The repository containing the source code and downloads for the resulting images is located here:
https://bitbucket.org/hww3/netbsd-kvm-image-builder